Apple II
Technical Notes
_____________________________________________________________________________
                                                  Developer Technical Support


AppleTalk
#1:    Identifying AppleTalk

Written by:    Dan Strnad                                       November 1988

This Technical Note describes the correct methods for identifying AppleTalk 
under ProDOS 8 and GS/OS, as the ATLK ROM signature is no longer used.
_____________________________________________________________________________

To identify AppleTalk under ProDOS 8:

1.    Issue an AppleShare GetInfo call.
2.    If there is no error result, AppleTalk is installed.

      InfoParams    DB $00              ;Synchronous only
                    DB $02              ;GetInfo call number
      InfoResult    DS 13               ;<- results returned here
    
      CheckATalk    JSR $BF00
                    DB $42              ;$42 command # for AppleTalk calls
                    DW InfoParams       ;Parameter list address
                    BCS NoATalk         ;handle the error
      IsATalk.      ...                 ;AppleTalk installed when here
    
      NoATalk       ...                 ;AppleTalk not installed when here

For proprietary information on how to identify AppleTalk under ProDOS 16, 
GS/OS version 4.0, or third-party operating systems, contact Apple II 
Developer Technical Support at the address listed in Technical Note #0 for a 
non-disclosure agreement.

